package com.example.myapplication;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;

import com.example.myapplication.service.GrayService;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Log.i("aaa", "asd");
        System.out.print("123");
        Log.d("HelloWorldActivity","______________onCreate execute______________");
        setContentView(R.layout.activity_main);
        startService(new Intent(this, GrayService.class));
    }
}
